package com.nuc.seckill.enums;

/**
 * @author 石一歌
 * @date 2022-08-05 22:09
 */
public enum ProductsEnum {
    /**
     * state
     */
    STATUS_IS_ONLINE("上线", 1),
    STATUS_IS_OFFLINE("下线", 2),
    STATUS_IS_FINISHED("结束", 3),
    /**
     * delete
     */
    IS_DELETED("已删除", 1),
    IS_NOT_DELETED("未删除", 0);
    private String name;
    private Integer value;

    ProductsEnum(String name, Integer value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
